package com.woniuxy.platform.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户角色关系表
 * </p>
 *
 * @author 杨青云
 * @since 2020-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("USER_ROLE")
@ApiModel(value="UserRole对象", description="用户角色关系表")
public class UserRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户角色关系编号")
    @TableId("USER_ROLE_ID")
    private Integer userRoleId;

    @ApiModelProperty(value = "用户编号")
    @TableField("USER_ID")
    private String userId;

    @ApiModelProperty(value = "权限编号")
    @TableField("ROLE_ID")
    private Integer roleId;


}
